-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry picks to v0 10 #3017
Merged
matt335672
merged 8 commits into
neutrinolabs:v0.10
from
matt335672:cherry_picks_to_v0_10
Apr 15, 2024
Merged
Cherry picks to v0 10 #3017
matt335672
merged 8 commits into
neutrinolabs:v0.10
from
matt335672:cherry_picks_to_v0_10
Apr 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Linux, the TCP send buffer size is increased to 32768 if it is less that this (which it normally is). This however has the effect of disabling dynamic buffer sizing, leading to a maximum available bandwidth of max_bandwidth = 262144 (bits) / round_trip_time (secs) This is not noticeable on a LAN with an RTT of around 0.5ms, but very noticeable on a WAN with an RTT of 0.25s. Comments in the config file and manpage in this area are improved, as is the logging if the parameters are actually set. (cherry picked from commit b23d6f8)
The '-lrt' added to the Makefile for the common library appears to be unnecessary. - On modern Linuxes, this library has been merged with libc, and the supplied library is empty. - On older ones (e.g. Devuan 4), the library contains routines we do not use in xrdp (although we use 'shm_open()' in xorgxrdp). - On FreeBSD 14 the library contains only mq_* and timer_* routines which, again, are not required. (cherry picked from commit e821edd)
This script now works the same way as cppcheck. The version to be used is specified once in the github CI action (cherry picked from commit b9fd19e)
(cherry picked from commit 651fcf8)
The user socket directory needs to be SGID so that they inherit the group ownnership. Then xrdp can write to them. (cherry picked from commit 200e4d8)
- The command 'systemd-analyze syscall-filter' shows that the group @System-service added to the xrdp-service SystemCallFilter actually includes all of the other listed groups and individual services. Consequently this line can be simplified to just specify @System-service. - (reversion) The SystemCallErrorNumber setting in xrdp.service has been removed so that unauthorized system calls cause an immediate process exit. (cherry picked from commit e0e9177)
@matt335672 Could you add #3013? |
I've updated NEWS 0.10 for this, so I'll merge it now in preparation for the next beta. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #3010